package config

import "gitee.com/liuxuezhan/ar-platform/assets-rpc/internal/dao/schema"

const TableNameConfigBank = "config_bank"

// ConfigBank 银行字典表
type ConfigBank struct {
	schema.Model
	BankCode string `gorm:"type:varchar(32);not null;comment:银行编码"`
	BankName string `gorm:"type:varchar(255);not null;comment:银行名字"`
	BankLogo string `gorm:"type:varchar(1024);not null;comment:银行logo"`
	Status   int32  `gorm:"type:tinyint;not null;comment:1开启;index"`
}

func (*ConfigBank) TableName() string {
	return TableNameConfigBank
}
